require "Comm/Functions"
require "Comm/UEnums"

WWW = UnityEngine.WWW
GameObject = UnityEngine.GameObject


-- SQLite = SQLiteExtension.SQLite
Util = LuaInterface.Util
AppConst = LuaInterface.AppConst

--主入口函数。从这里开始lua逻辑
function Main()					
	print("logic start")	

	-- EnterApp("mainapp/mainapp_selectpage.unity3d", "MainApp_SelectPage" )

end

function EnterApp(bundleUrl, sceneName)
	print("EnterApp start")	
end

--场景切换通知
function OnLevelWasLoaded(level)
	collectgarbage("collect")
	Time.timeSinceLevelLoad = 0
end


function OnApplicationQuit()
end